package com.lry.sso.auth.common.exception;

import com.lry.sso.common.entity.SysError;

import javax.sound.midi.SysexMessage;

/**
 * 
 *
 * @author 李瑞益
 * @date 2019/11/30
 */
public class LoginError {

    public static final SysError USERNAME_PASSWORD = new SysError("200000001","用户名或密码错误");

    public static final SysError USER_DISABLE = new SysError("200000002","用户被禁用");

    public static final SysError LOGIN_FAIL = new SysError("200000003","登录失败");

    public static final SysError CAPTCHA_CREATE = new SysError("200000004","验证码生成失败");

    public static final SysError CAPTCHA_ERROR = new SysError("200000005","验证码错误");

    public static final SysError CAPTCHA_EXPIRE = new SysError("200000006","验证码过去");

    public static final SysError USERNAME_NULL = new SysError("200000007","用户名未空");

    public static final SysError PASSWORD_NULL = new SysError("200000008","密码为空");

    public static final SysError CAPTCHA_NULL = new SysError("200000009","验证码未空");

    public static final SysError TOKEN_PARSE = new SysError("200000010","token解析失败");

    public static final SysError TOKEN_EXPIRE = new SysError("200000011","token过期");

    public static final SysError TOKEN_UNABLE = new SysError("200000012","token无效");

    public static final SysError USER_LOCK = new SysError("200000013","用户被锁定");

    public static final SysError IP_LOCK = new SysError("200000014","IP被锁定");
}
